<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>键盘事件</title>
</head>
<body>
<div id="app">
    <input @keyup.alt.65="toBD" ></br>
</div>
<script src="../node_modules/vue/dist/vue.js"></script>
<script>
    let vue = new Vue({
        el: "#app",
        methods: {
            toBD() {
                alert(2132);
            }
        }
    });
</script>
</body>
</html>